From: George Dunlap Date: Fri, 21 Dec 2018 19:35:04 +0000 (+0000) Subject: libxl/dm_depriv: Fix build X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2698 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:/?a=commitdiff_plain;h=9d357cbaf74f0c1dc85a16498dac6d819743ce38;p=xen.git libxl/dm_depriv: Fix build Build tests noticed a path where we weren't setting rc. Signed-off-by: George Dunlap --- diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index f5322e3f45..4b97936bd5 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -177,6 +177,7 @@ static int libxl__domain_get_device_model_uid(libxl__gc *gc, LOGD(DEBUG, guest_domid, "dm_restrict disabled, starting QEMU as root"); user = NULL; /* Should already be null, but just in case */ + rc = 0; goto out; }